/var/log/clamav/*.log {
    weekly
    rotate 5
    compress
    delaycompress
    notifempty
    missingok
    postrotate
    /bin/kill -HUP `cat /var/run/clamav/clamd.pid 2>/dev/null` 2>/dev/null || true
    endscript
}
